package me.zhengjie.modules.management.rest.admin;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import me.zhengjie.annotation.Log;
import me.zhengjie.modules.management.service.ConferenceConfigService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: yuchao.wang
 * @Date: 2020/12/14
 * @Description :
 */
@RestController
@RequestMapping("/api/conferenceConfig")
@RequiredArgsConstructor
@Api(tags = "MR:教室预约状态")
public class ConferenceConfigController {

    private final ConferenceConfigService conferenceConfigService;

    @ApiOperation("获取教室预约状态")
    @Log("获取教室预约状态")
    @GetMapping
    public Object getMRStatus(){
        return conferenceConfigService.getMRStatus();
    }
}
